package com.demo.po;

import com.demo.interceptor.FieldDescription;
import com.demo.po.base.PageBean;

import java.io.Serializable;

/**
 * 数据库表：应用部署表
 **/

public class ApplicationPo extends PageBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @FieldDescription(value = "应用id", nullable = "false")
    private Integer applicationid;
    @FieldDescription(value = "服务器id", nullable = "false")
    private Integer serverid;
    @FieldDescription(value = "应用名称", length = "32", nullable = "false")
    private String applicationname;
    @FieldDescription(value = "应用部署路径", length = "64", nullable = "false")
    private String developpath;
    @FieldDescription(value = "应用状态", nullable = "false")
    private Integer appstatus;
    @FieldDescription(value = "异常描述", length = "200")
    private String errormsg;
    @FieldDescription(value = "应用监控脚本", length = "2000")
    private String appshell;
    @FieldDescription(value = "描述", length = "255")
    private String description;
    private String addtime;
    private String updatetime;

    private String[] idlist; //id列表
    private String hostname; // 服务器名称
    private String host; // 服务器ip

    public Integer getApplicationid() {
        return applicationid;
    }

    public void setApplicationid(Integer applicationid) {
        this.applicationid = applicationid;
    }

    public Integer getServerid() {
        return serverid;
    }

    public void setServerid(Integer serverid) {
        this.serverid = serverid;
    }

    public String getApplicationname() {
        return applicationname;
    }

    public void setApplicationname(String applicationname) {
        this.applicationname = applicationname;
    }

    public String getDeveloppath() {
        return developpath;
    }

    public void setDeveloppath(String developpath) {
        this.developpath = developpath;
    }

    public Integer getAppstatus() {
        return appstatus;
    }

    public void setAppstatus(Integer appstatus) {
        this.appstatus = appstatus;
    }

    public String getErrormsg() {
        return errormsg;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;
    }

    public String getAppshell() {
        return appshell;
    }

    public void setAppshell(String appshell) {
        this.appshell = appshell;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public String[] getIdlist() {
        return idlist;
    }

    public void setIdlist(String[] idlist) {
        this.idlist = idlist;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
